<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			// uni.reLaunch({
			// 	url: '/pages/login/login'
			// });
			
			let userInfo = uni.getStorageSync('userInfo');
			if (userInfo && userInfo != '') {
				uni.switchTab({
					url: '/pages/order/order'
				});
			} else {
				uni.reLaunch({
					url: '/pages/login/login'
				});
			}
			
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
